﻿namespace MESData.ErrorCode
{
    /// <summary>
    /// 统一包装类 
    /// </summary>
    /// <typeparam name="T">虚拟返回类型</typeparam>
    public class ApiResult<T>
    {
        /// <summary>
        /// 信息
        /// </summary>
        public string? Msg { get; set; }
        /// <summary>
        /// 状态码
        /// </summary>
        public ApiEnum? Code { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public T? Data { get; set; }
    }
}
